import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "dataBoard",
    component: () => import("@/views/dataBoard/pages/dataBoard.vue"),
  },
  {
    path: "/tent",
    name: "tent",
    component: () => import("@/views/dataBoard/pages/tent.vue"),
  },
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
